/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.meter.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.springblade.core.tenant.mp.TenantEntity;

/**
 * 计量失败表实体类
 *
 * @author John
 * @since 2020-08-16
 */
@Data
@TableName("t_meter_fail")
@EqualsAndHashCode(callSuper = true)
@ApiModel(value = "MeterFail对象", description = "计量失败表")
public class MeterFail extends TenantEntity {

	private static final long serialVersionUID = 1L;

	/**
	* 用电用户ID
	*/
		@ApiModelProperty(value = "用电用户ID")
		private Long memberId;
	/**
	* 客户ID
	*/
		@ApiModelProperty(value = "客户ID")
		private Long customerId;
	/**
	* 用户名称
	*/
		@ApiModelProperty(value = "用户名称")
		private String memberName;
	/**
	* 设备id
	*/
		@ApiModelProperty(value = "设备id")
		private Long meterId;
	/**
	* 设备序列号
	*/
		@ApiModelProperty(value = "设备序列号")
		private String sn;
	/**
	* 设备类型
	*/
		@ApiModelProperty(value = "设备类型")
		private String deviceType;
	/**
	* 房源id
	*/
		@ApiModelProperty(value = "房源id")
		private Long roomId;
	/**
	* 房源名称
	*/
		@ApiModelProperty(value = "房源名称")
		private String roomName;
	/**
	* 房源地址
	*/
		@ApiModelProperty(value = "房源地址")
		private String roomAddress;
	/**
	* 是否公摊表
	*/
		@ApiModelProperty(value = "是否公摊表")
		private Integer publicShared;
	/**
	* 设备系统来源
	*/
		@ApiModelProperty(value = "设备系统来源")
		private Integer systemSource;
	/**
	* 设备在线状态
	*/
		@ApiModelProperty(value = "设备在线状态")
		private Integer online;
	/**
	* 计量id
	*/
		@ApiModelProperty(value = "计量id")
		private Long kmId;
	/**
	* 能源合约id
	*/
		@ApiModelProperty(value = "能源合约id")
		private Long contractId;
	/**
	* 是否计量
	*/
		@ApiModelProperty(value = "是否计量")
		private Integer feeStatus;
	/**
	* 设备加入时间
	*/
		@ApiModelProperty(value = "设备加入时间")
		private LocalDateTime installDate;
	/**
	* 原因
	*/
		@ApiModelProperty(value = "原因")
		private String reason;
	/**
	* 统计时间
	*/
		@ApiModelProperty(value = "统计时间")
		private LocalDateTime statisticsTime;
	/**
	* 备注信息
	*/
		@ApiModelProperty(value = "备注信息")
		private String remarks;


}
